﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using SMARTMobile.ViewModels;

namespace SMARTMobile.Views
{
    public partial class NhanThongTinPage
    {
        private NhanThongTinViewModel viewModel;
        public NhanThongTinPage()
        {
            InitializeComponent();
            this.viewModel = new NhanThongTinViewModel();
            DataContext = this.viewModel;
        }

        private void Update_Tapped(object sender, System.Windows.Input.GestureEventArgs e)
        {
            this.viewModel.ExecuteUpdateCommand(null);
        }
    }
}